//
//  StepView.h
//  LineByLine
//
//  Created by 병철 김 on 11. 11. 12..
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol StepViewDelegate <NSObject>
- (void)didChangePage:(NSInteger)page;
- (void) onClickBookmark;
@end

@interface StepView : UIView<UITableViewDelegate> {
    id<UITableViewDataSource> dataSource;
    UITableView *tableView;
    UIImageView *bookmarkImageView;
    int curPage;
}

@property (readonly, nonatomic) UITableView *tableView;;
@property (assign, nonatomic) int curPage;
@property (assign, nonatomic) id<StepViewDelegate> viewDelegate;
@property (assign, nonatomic) id<UITableViewDataSource> dataSource;

- (UITableViewCell*) getCurrentCell;
- (void) configView;
- (BOOL) moveNext;
@end
